package com.lzh.runke.core.autoconfigure;

import com.lzh.runke.entity.HeaderCell;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Bean重复注册问题
 *
 * @author: wtl
 * @License: (C) Copyright 2021, wtl Corporation Limited.
 * @Contact: 1050100468@qq.com
 * @Date: 2021/12/29 10:29 上午
 * @Version: 1.0
 * @Description:
 */
@Configuration
public class UserConfigure {

    @Bean
    public HeaderCell createBean1() {
        return new HeaderCell();
    }

    @Bean
    public HeaderCell createBean2() {
        return new HeaderCell();
    }
}